home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / tcl / CrtInterp.man < prev    next >
Encoding:
Text File  |  1992-11-14  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Tcl_CreateInterp      C Library Procedures       Tcl_CreateInterp
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      Tcl_CreateInterp, Tcl_DeleteInterp - create and  delete  Tcl
  12.      command interpreters
  13.  
  14. SSYYNNOOPPSSIISS
  15.      ##iinncclluuddee <<ttccll..hh>>
  16.  
  17.      Tcl_Interp *
  18.      TTccll__CCrreeaatteeIInntteerrpp()
  19.  
  20.      TTccll__DDeelleetteeIInntteerrpp(_i_n_t_e_r_p)
  21.  
  22. AARRGGUUMMEENNTTSS
  23.      Tcl_Interp   *_i_n_t_e_r_p   (in)      Token for interpreter to be
  24.                                       destroyed.
  25. _________________________________________________________________
  26.  
  27.  
  28. DDEESSCCRRIIPPTTIIOONN
  29.      TTccll__CCrreeaatteeIInntteerrpp creates a  new  interpreter  structure  and
  30.      returns  a  token for it.  The token is required in calls to
  31.      most  other  Tcl  procedures,  such  as   TTccll__CCrreeaatteeCCoommmmaanndd,
  32.      TTccll__EEvvaall, and TTccll__DDeelleetteeIInntteerrpp.  Clients are only allowed to
  33.      access a few of the fields of  Tcl_Interp  structures;   see
  34.      the  Tcl_Interp and TTccll__CCrreeaatteeCCoommmmaanndd man pages for details.
  35.      The new interpreter is initialized with no defined variables
  36.      and  only  the built-in Tcl commands.  To bind in additional
  37.      commands, call TTccll__CCrreeaatteeCCoommmmaanndd.
  38.  
  39.      TTccll__DDeelleetteeIInntteerrpp destroys a command interpreter and releases
  40.      all  of  the  resources  associated with it, including vari-
  41.      ables, procedures, and  application-specific  command  bind-
  42.      ings.   After  TTccll__DDeelleetteeIInntteerrpp  returns  the  caller should
  43.      never again use the _i_n_t_e_r_p token.
  44.  
  45.  
  46. KKEEYYWWOORRDDSS
  47.      command, create, delete, interpreter
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0                                                     1
  64.  
  65.  
  66.  
  67.